#pragma once

#include <vector>

#include <d3d11.h>

#include "IComponent.h"
#include "WICTextureLoader.h"

using namespace std;

class Texture : public virtual IComponent
{
public:
	Texture(void);
	~Texture(void);

	virtual void Initialize(HWND WindowHandle = nullptr, HINSTANCE hInstance = nullptr, ID3D11Device* Device = nullptr, ID3D11DeviceContext* DeviceContext = nullptr);
	virtual void Update(int DeltaTime);
	virtual void Shutdown();

	void AddTexture(string Path);

private:
	ID3D11Device* D3DDevice;
	ID3D11DeviceContext* D3DDeviceContext;

	vector<ID3D11ShaderResourceView*> ShaderResourceViews;
};

